1fa596902d3cd70f3e58dc558a07d90dca837bfe,core/src/test/java/brooklyn/location/basic/ByonLocationResolverTest.java,ByonLocationResolverTest,testResolvesUserArg2,#,225

Before Change


    public void testResolvesUserArg2() throws Exception {
        String spec = "byon(hosts=\"1.1.1.1\",user=bob)";
        FixedListMachineProvisioningLocation<SshMachineLocation> ll = resolve(spec);
        SshMachineLocation l = ll.obtain();
        Assert.assertEquals("bob", l.getUser());
    }

After Change


    public void testResolvesUserArg2() throws Exception {
        String spec = "byon(hosts=\"1.1.1.1\",user=bob)";
        FixedListMachineProvisioningLocation<MachineLocation> ll = resolve(spec);
        SshMachineLocation l = (SshMachineLocation)ll.obtain();
        Assert.assertEquals("bob", l.getUser());
    }